package wangjg.codec.bitmap;


/*
	typedef struct {
	unsigned short int type;
	unsigned int size;//File size in bytes,全部的檔案大小
	unsigned short int reserved1, reserved2; //保留欄位
	unsigned int offset;//Offset to image data, bytes
	} FILEHEADER; 
*/
public class FileHeader{
	private short type;
	private int size;
	private short reserved1;
	private short reserved2;
	private int offset;
	
	public short getType() {
		return type;
	}
	public void setType(short type) {
		this.type = type;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public short getReserved1() {
		return reserved1;
	}
	public void setReserved1(short reserved1) {
		this.reserved1 = reserved1;
	}
	public short getReserved2() {
		return reserved2;
	}
	public void setReserved2(short reserved2) {
		this.reserved2 = reserved2;
	}
	public int getOffset() {
		return offset;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
}
